1 general:: In some ways and not others, as in Did you enjoy yourself?? Yes and no, I liked the music itself but hated the conductor. This idiom, always a reply to a question, was first recorded in 1873.
American Heritage Idioms